package com.neudeu.zy;

public class Company2 {
    //成员变量


    //行为方法

    /**
     * 打印员工工资
     * @param calculateMonth 打印工资的月份
     * @param colaEmployee 打印员工对象
     */
    public void printEmployeeSalary(int calculateMonth,ColaEmployee colaEmployee){
        System.out.println(calculateMonth+"月份工资：姓名："+colaEmployee.geteName()
                +"，当月工资："+colaEmployee.getSalary(calculateMonth));

    }

}
